package com.inspur.sc.springboot.dao;

import com.inspur.sc.springboot.entity.SysUser;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;


public interface SysUserDao extends JpaRepository<SysUser, Integer> {

    SysUser findByUsername(String username);

    Page<SysUser> findByUsernameLike(String username, Pageable pageable);
}
